/**
 * @Project: znmh_FEP
 * @Title: Header.java
 * @Package com.hoperun.biz.entity
 * @author SunTow_J
 * @date 2013-10-25 
 * @Copyright: © 2013 HopeRun Inc. All rights reserved.
 * @version V1.0  
 */
package com.bj.jiufu.base;

import java.util.Date;

/**
 * 
 * @Description 交互报文头
 * @author SunTow_J
 * @version 1.0
 */
public class Header extends BaseEntity
{
    /** serialVersionUID. */
    private static final long serialVersionUID = 6937803286938662324L;
    
    /** 访问状态 成功与否 0:成功 其他失败 */
    private String retStatus;
    
    /** 返回消息内容 一般为空 */
    private String retMessage;
    
    /** 设备ID */
    private String devId;
    
    /** 设备类型 */
    private String devType;
    
    /** 0:实名 1:待认证 2:游客 */
    private String userType;
    
    /** 应用ID */
    private String appId;
    
    /** 功能ID */
    private String funcId;
    
    /** 用户ID */
    private String userId;
    
    /** 鉴权认证 */
    private String accessToken;
    
    /** 应用版本号 */
    private String appVersion;
    
    /** 设备系统版本号 */
    private String osVersion;
    
    private Date interceptTime;
    
    /** 手机型号 */
    private String deviceModel;
    
    /** 应用类型*/
    private String appName;
    
    
    
    
    public String getAppName()
    {
        return appName;
    }

    public void setAppName(String appName)
    {
        this.appName = appName;
    }

    /**
     * 获取 deviceModel
     * 
     * @return 返回 deviceModel
     */
    public String getDeviceModel()
    {
        return deviceModel;
    }
    
    /**
     * 设置 deviceModel
     * 
     * @param 对deviceModel进行赋值
     */
    public void setDeviceModel(String deviceModel)
    {
        this.deviceModel = deviceModel;
    }
    
    public String getRetStatus()
    {
        return retStatus;
    }
    
    public void setRetStatus(String retStatus)
    {
        this.retStatus = retStatus;
    }
    
    public String getRetMessage()
    {
        return retMessage;
    }
    
    public void setRetMessage(String retMessage)
    {
        this.retMessage = retMessage;
    }
    
    public String getDevId()
    {
        return devId;
    }
    
    public void setDevId(String devId)
    {
        this.devId = devId;
    }
    
    public String getDevType()
    {
        return devType;
    }
    
    public void setDevType(String devType)
    {
        this.devType = devType;
    }
    
    public String getUserType()
    {
        return userType;
    }
    
    public void setUserType(String userType)
    {
        this.userType = userType;
    }
    
    public String getAppId()
    {
        return appId;
    }
    
    public void setAppId(String appId)
    {
        this.appId = appId;
    }
    
    public String getFuncId()
    {
        return funcId;
    }
    
    public void setFuncId(String funcId)
    {
        this.funcId = funcId;
    }
    
    public String getUserId()
    {
        return userId;
    }
    
    public void setUserId(String userId)
    {
        this.userId = userId;
    }
    
    public String getAccessToken()
    {
        return accessToken;
    }
    
    public void setAccessToken(String accessToken)
    {
        this.accessToken = accessToken;
    }
    
    public String getAppVersion()
    {
        return appVersion;
    }
    
    public void setAppVersion(String appVersion)
    {
        this.appVersion = appVersion;
    }
    
    public String getOsVersion()
    {
        return osVersion;
    }
    
    public void setOsVersion(String osVersion)
    {
        this.osVersion = osVersion;
    }
    
    public Date getInterceptTime()
    {
        return interceptTime;
    }
    
    public void setInterceptTime(Date interceptTime)
    {
        this.interceptTime = interceptTime;
    }
    
    @Override
    public String toString()
    {
        return "Header [retStatus=" + retStatus + ", retMessage=" + retMessage + ", devId=" + devId + ", devType="
            + devType + ", userType=" + userType + ", appId=" + appId + ", funcId=" + funcId + ", userId=" + userId
            + ", accessToken=" + accessToken + ", appVersion=" + appVersion + ", osVersion=" + osVersion
            + ", interceptTime=" + interceptTime + ", deviceModel=" + deviceModel + "]";
    }
    
}
